package com.ruoyi.squadweb.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广播消息对象 squadjs_all_ban_info
 *
 * @author ruoyi
 * @date 2024-03-04
 */
public class SquadjsAllBanInfo
{
    private static final long serialVersionUID = 1L;

    /** STEAM64ID */
    private Long steamid;

    /** 操作时间 */
    @Excel(name = "操作时间")
    private String datatime;

    /** eosid */
    @Excel(name = "eosid")
    private String eosid;

    /** 类型 BAN 或者 UNBAN */
    @Excel(name = "类型 BAN 或者 UNBAN")
    private String type;

    /** 原因 */
    @Excel(name = "原因")
    private String reason;

    /** 操作者 */
    @Excel(name = "操作者")
    private String operator;

    /** 封禁/解封的 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "封禁/解封的 操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String time;

    /** 解封时间 一般为空 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解封时间 一般为空", width = 30, dateFormat = "yyyy-MM-dd")
    private String endtime;

    public void setSteamid(Long steamid)
    {
        this.steamid = steamid;
    }

    public Long getSteamid()
    {
        return steamid;
    }
    public void setDatatime(String datatime)
    {
        this.datatime = datatime;
    }

    public String getDatatime()
    {
        return datatime;
    }
    public void setEosid(String eosid)
    {
        this.eosid = eosid;
    }

    public String getEosid()
    {
        return eosid;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setReason(String reason)
    {
        this.reason = reason;
    }

    public String getReason()
    {
        return reason;
    }
    public void setOperator(String operator)
    {
        this.operator = operator;
    }

    public String getOperator()
    {
        return operator;
    }
    public void setTime(String time)
    {
        this.time = time;
    }

    public String getTime()
    {
        return time;
    }
    public void setEndtime(String endtime)
    {
        this.endtime = endtime;
    }

    public String getEndtime()
    {
        return endtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("steamid", getSteamid())
            .append("datatime", getDatatime())
            .append("eosid", getEosid())
            .append("type", getType())
            .append("reason", getReason())
            .append("operator", getOperator())
            .append("time", getTime())
            .append("endtime", getEndtime())
            .toString();
    }
}
